﻿using Newtonsoft.Json;

namespace ViewModel.Response;

/// <summary>
/// 上传图片返回参数
/// </summary>
public class UploadResponse
{
    /// <summary>
    /// 消息
    /// </summary>
    [JsonProperty(PropertyName = "message")]
    public string Message { get; set; } = "success";

    /// <summary>
    /// 图片文件名
    /// </summary>
    [JsonProperty(PropertyName = "upload_filename")]
    public string UpLoadFileName { get; set; } = "";

    /// <summary>
    /// 图片地址
    /// </summary>
    [JsonProperty(PropertyName = "upload_url")]
    public string UpLoadUrl { get; set; } = "";

    /// <summary>
    /// 任务id
    /// </summary>
    [JsonProperty(PropertyName = "trigger_id")]
    public string TriggerId { get; set; } = "";
}